/**
 * Created by zby on 2018/3/25.
 */
class A2 {
    Object get() {
        return null;
    }
}

class B2 extends A2 {
    Integer get() {
        return new Integer(100);
    }
}

public class Example5_6 {
    public static void main(String[] args) {
        B2 b = new B2();
        Integer t = b.get();
        System.out.println(t.intValue());
    }
}
